package com.kantboot.global.exception.item;

import com.kantboot.util.common.exception.BaseException;

public class UserAccountException {

    /**
     * 未登录
     */
    public static final BaseException NOT_LOGIN = BaseException.of("notLogin", "未登录");

    /**
     * 账号不存在
     */
    public static final BaseException NOT_EXIST = BaseException.of("accountNotExist", "账号不存在");

    /**
     * 验证码错误
     */
    public static final BaseException VERIFICATION_CODE_ERROR = BaseException.of("verificationCodeError", "验证码错误");

    /**
     * 用户名已存在
     */
    public static final BaseException USERNAME_EXIST = BaseException.of("usernameExist", "用户名已存在");

    /**
     * 邮箱已存在
     */
    public static final BaseException EMAIL_EXIST = BaseException.of("emailExist", "邮箱已存在");

    /**
     * 手机号已存在
     */
    public static final BaseException PHONE_EXIST = BaseException.of("phoneExist", "手机号已存在");

    /**
     * 原密码错误
     */
    public static final BaseException OLD_PASSWORD_ERROR = BaseException.of("oldPasswordError", "原密码错误");

}
